package com.durian.system.api.domain.house;

import com.durian.common.core.annotation.Excel;
import com.durian.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 集中式房源-房型信息对象 tb_house_style
 * 
 * @author durian
 * @date 2022-06-21
 */
public class HouseStyle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String houseId;

    /** 房型名称 */
    @Excel(name = "房型名称")
    private String acreage;

    /** 面积 */
    @Excel(name = "面积")
    private BigDecimal proportion;

    /** 朝向 */
    @Excel(name = "朝向")
    private Integer direction;

    /** 租金 */
    @Excel(name = "租金")
    private BigDecimal rental;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String decorateStyle;

    /** 独立配置 */
    @Excel(name = "独立配置")
    private String privateFacility;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long reserve1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long reserve2;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String reserve3;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String reserve4;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String reserve5;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setHouseId(String houseId) 
    {
        this.houseId = houseId;
    }

    public String getHouseId() 
    {
        return houseId;
    }
    public void setAcreage(String acreage) 
    {
        this.acreage = acreage;
    }

    public String getAcreage() 
    {
        return acreage;
    }
    public void setProportion(BigDecimal proportion) 
    {
        this.proportion = proportion;
    }

    public BigDecimal getProportion() 
    {
        return proportion;
    }
    public void setDirection(Integer direction) 
    {
        this.direction = direction;
    }

    public Integer getDirection() 
    {
        return direction;
    }
    public void setRental(BigDecimal rental) 
    {
        this.rental = rental;
    }

    public BigDecimal getRental() 
    {
        return rental;
    }
    public void setDecorateStyle(String decorateStyle) 
    {
        this.decorateStyle = decorateStyle;
    }

    public String getDecorateStyle() 
    {
        return decorateStyle;
    }
    public void setPrivateFacility(String privateFacility) 
    {
        this.privateFacility = privateFacility;
    }

    public String getPrivateFacility() 
    {
        return privateFacility;
    }
    public void setReserve1(Long reserve1) 
    {
        this.reserve1 = reserve1;
    }

    public Long getReserve1() 
    {
        return reserve1;
    }
    public void setReserve2(Long reserve2) 
    {
        this.reserve2 = reserve2;
    }

    public Long getReserve2() 
    {
        return reserve2;
    }
    public void setReserve3(String reserve3) 
    {
        this.reserve3 = reserve3;
    }

    public String getReserve3() 
    {
        return reserve3;
    }
    public void setReserve4(String reserve4) 
    {
        this.reserve4 = reserve4;
    }

    public String getReserve4() 
    {
        return reserve4;
    }
    public void setReserve5(String reserve5) 
    {
        this.reserve5 = reserve5;
    }

    public String getReserve5() 
    {
        return reserve5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("houseId", getHouseId())
            .append("acreage", getAcreage())
            .append("proportion", getProportion())
            .append("direction", getDirection())
            .append("rental", getRental())
            .append("decorateStyle", getDecorateStyle())
            .append("privateFacility", getPrivateFacility())
            .append("reserve1", getReserve1())
            .append("reserve2", getReserve2())
            .append("reserve3", getReserve3())
            .append("reserve4", getReserve4())
            .append("reserve5", getReserve5())
            .toString();
    }
}
